<template>
  <icon-font :type="props.iconType" :class="customClass" :style="customStyle" />
</template>

<script lang="ts" setup name="Icon">
import { createFromIconfontCN } from '@ant-design/icons-vue'

const IconFont = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/c/font_3809518_l3fiv6vijsf.js'
})
const props = defineProps({
  iconType: {
    type: String,
    default: ''
  },
  customClass: {
    type: String,
    default: ''
  },
  customStyle: {
    type: Object,
    default: () => {}
  }
})
</script>

<style lang="less" scoped></style>
